//
//  EPProgressHUD.h
//  Teacher_ZXT
//
//  Created by knrainy on 15/6/9.
//  Copyright (c) 2015年 knrainy. All rights reserved.
//

/** 封装了一下HUD,便于统一风格
 */
#import <Foundation/Foundation.h>
#import "SVProgressHUD.h"

@interface EPProgressHUD : NSObject
/**
 *  show HUD
 */
+ (void)show;
/**
 *  dismiss HUD
 */
+ (void)dismiss;



/**
 *  show HUD
 *
 *  @param status msg
 */
+ (void)showWithStatus:(NSString*)status;

/**
 *  show HUD
 *
 *  @param status msg
 *  @param maskType SVProgressHUDMaskType
 */
+ (void)showWithStatus:(NSString*)status maskType:(SVProgressHUDMaskType)maskType;



/**
 *  show error HUD
 *
 *  @param string error msg
 */
+ (void)showErrorWithStatus:(NSString *)string;

/**
 *  show error HUD with type
 *
 *  @param string   error msg
 *  @param maskType SVProgressHUDMaskType
 */
+ (void)showErrorWithStatus:(NSString *)string maskType:(SVProgressHUDMaskType)maskType;



/**
 *  show success HUD
 *
 *  @param string success msy
 */
+ (void)showSuccessWithStatus:(NSString*)string;

/**
 *  show success HUD
 *
 *  @param string success msy
 *  @param maskType SVProgressHUDMaskType
 */
+ (void)showSuccessWithStatus:(NSString*)string maskType:(SVProgressHUDMaskType)maskType;


/**
 showErrorHUD

 @param error 显示错误的信息
 */
+ (void)showErrorHUD:(NSError *)error;
@end
